package com.perceptivesoftware.licensing.client.dto;

import com.google.gwt.user.client.rpc.IsSerializable;

public class UserDTO implements IsSerializable {

	private String userCode;
	private String userName;
	private boolean superUser;
	private String email;

	public UserDTO() {
		//
	}

	public UserDTO(final String userCode, final String userName, final boolean isSuperUser) {
		this.userCode = userCode;
		this.userName = userName;
		superUser = isSuperUser;
	}

	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(final String userCode) {
		this.userCode = userCode;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(final String userName) {
		this.userName = userName;
	}

	public boolean isSuperUser() {
		return superUser;
	}

	public void setSuperUser(final boolean superUser) {
		this.superUser = superUser;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
}
